package com.cpfmat.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.cpfmat.entity.YzmTab;
import com.cpfmat.mapper.YzmTabMapper;
import com.cpfmat.service.IYzmTabService;

@Service
public class YzmTabServiceImpl extends ServiceImpl<YzmTabMapper, YzmTab> implements IYzmTabService{

	@Autowired
	private YzmTabMapper yzmTabMapper;
	
	@Override
	public YzmTab getBeanByYzId(String yzId, String yzms) {
		// TODO Auto-generated method stub
		YzmTab tab = new YzmTab();
		tab.setYzId(yzId);
		tab.setYzms(yzms);
		return yzmTabMapper.selectOne(tab);
	}

}
